package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("star_health")
public class StarHealthDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 类型 1智能穿戴 2测评 3证书 */
    @TableField("type")
    private Integer type;
    /** 名称 */
    @TableField("name")
    private String name;
    /** 是否免费 0否 1是 */
    @TableField("free")
    private Integer free;
    /** 金额 */
    @TableField("price")
    private BigDecimal price;
    /** 封面 */
    @TableField("cover")
    private String cover;
    /** 详情图片 */
    @TableField("detail_img")
    private String detailImg;
    /** 内容 */
    @TableField("content")
    private String content;
    /** 排序 */
    @TableField("sort_num")
    private Integer sortNum;
}
